Skip to content

Conversation

@CRingroseCCDC
Copy link
Contributor

…ential.


CCDC Python API Licence required, minimum version: 3.0.15

Script can be run with any multimolecule file e.g. sdf.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]

Input file (single- or multi-molecule file)

options:
* -h, --help; Show this help message and exit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "* -h, --help; Show this help m..."]


options:
* -h, --help; Show this help message and exit
* -m {absolute,relative}, --mode; Limit mode: absolute (fixed threshold) or relative (threshold based on
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]

options:
* -h, --help; Show this help message and exit
* -m {absolute,relative}, --mode; Limit mode: absolute (fixed threshold) or relative (threshold based on
molecule with fewest unusual torsions). WARNING: Relative mode may behave unexpectedly with conformers from
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]

* --failurefn; Output file for molecules that fail the filter (default: failures.mol)
* -u, --unusual-torsions; Output CSV file for unusual torsion details (default: unusual_torsions.csv)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD012/no-multiple-blanks Multiple consecutive blank lines [Expected: 1; Actual: 2]

@@ -0,0 +1,23 @@
# Filter Poses

This is a short script to filter molecular poses in a multi-molecule file based on the torsion probabilities.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD009/no-trailing-spaces Trailing spaces [Expected: 0 or 2; Actual: 1]

## Instructions on Running

positional arguments:
* input file; Input file (multi-molecule file).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "* input file; Input file (mult..."]

* input file; Input file (multi-molecule file).

options:
* -h, --help; Show this help message and exit.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint] reported by reviewdog 🐶
MD032/blanks-around-lists Lists should be surrounded by blank lines [Context: "* -h, --help; Show this help m..."]


CCDC Python API Licence required, minimum version: 3.0.15

Script can be run with any multimolecule file e.g. sdf.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
Script can be run with any multimolecule file e.g. sdf.
Script can be run with any multimolecule file e.g. sdf.

Input file (single- or multi-molecule file)

options:
* -h, --help; Show this help message and exit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
* -h, --help; Show this help message and exit
* -h, --help; Show this help message and exit

Comment on lines +20 to +21
* -m {absolute,relative}, --mode; Limit mode: absolute (fixed threshold) or relative (threshold based on
molecule with fewest unusual torsions). WARNING: Relative mode may behave unexpectedly with conformers from
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
* -m {absolute,relative}, --mode; Limit mode: absolute (fixed threshold) or relative (threshold based on
molecule with fewest unusual torsions). WARNING: Relative mode may behave unexpectedly with conformers from
* -m {absolute,relative}, --mode; Limit mode: absolute (fixed threshold) or relative (threshold based on
molecule with fewest unusual torsions). WARNING: Relative mode may behave unexpectedly with conformers from

* --failurefn; Output file for molecules that fail the filter (default: failures.mol)
* -u, --unusual-torsions; Output CSV file for unusual torsion details (default: unusual_torsions.csv)


Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change

Updated by Chris Ringrose

For feedback or to report any issues please contact support@ccdc.cam.ac.uk

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change

@@ -0,0 +1,23 @@
# Filter Poses

This is a short script to filter molecular poses in a multi-molecule file based on the torsion probabilities.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
This is a short script to filter molecular poses in a multi-molecule file based on the torsion probabilities.
This is a short script to filter molecular poses in a multi-molecule file based on the torsion probabilities.

## Instructions on Running

positional arguments:
* input file; Input file (multi-molecule file).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
* input file; Input file (multi-molecule file).
* input file; Input file (multi-molecule file).

* input file; Input file (multi-molecule file).

options:
* -h, --help; Show this help message and exit.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change
* -h, --help; Show this help message and exit.
* -h, --help; Show this help message and exit.

Updated by Chris Ringrose

For feedback or to report any issues please contact support@ccdc.cam.ac.uk

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[markdownlint-fix] reported by reviewdog 🐶

Suggested change

Copy link
Contributor

@Alex-AMC Alex-AMC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding the extra info :) Sorry about the reviewdog flood 😅

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 5, 2026

@CRingroseCCDC CRingroseCCDC merged commit f2c0bbe into main Feb 5, 2026
6 checks passed
@CRingroseCCDC CRingroseCCDC deleted the conformer_scripts branch February 5, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants